package com.oweight.sagacious.payment.domain.entity;

import com.oweight.sagacious.common.domain.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 支付宝支付属性配置类
 *
 * @author 周广明
 * @version v1 12/20/19 3:27 PM
 */
@Data
@EqualsAndHashCode(callSuper = true)

@Entity
@Table(name = "sage_config_pay_ali")
public class AliPayProperties extends BaseEntity {

    private String appId;

    private String privateKey;

    private String aliPayPublicKey;

    /**
     * 商户授权token
     */
    private String appAuthToken;

    /**
     * 证书文件内容的字节数组
     */
    private byte[] appCertContent;

    private byte[] aliPayCertContent;

    private byte[] aliPayRootCertContent;

    /**
     * 通知地址
     */
    private String notifyUrl;

    /**
     * 描述
     */
    private String fdDescribe;

}
